import express from 'express'
const router= express.Router();
import {getCategoryList, saveCategory, updateCategory, delCategory} from '../services/categoryServ'
router.get('/getCategory', getCategoryList)
    .post('/saveCategory',saveCategory)
    .put('/updateCategory/:id', updateCategory)
    .delete('/delCategory/:id', delCategory)
export default router